﻿using System;
using System.Collections.Generic;
using System.Data.Entity.Migrations;
using System.Linq;
using System.Text;

namespace TGB.Core.Infrastructure
{
    public class Configuration : DbMigrationsConfiguration<TGBTechDb>
    {
        public Configuration()
        {
            AutomaticMigrationsEnabled = true;
            AutomaticMigrationDataLossAllowed = true;
        }

        protected override void Seed(TGBTechDb context)
        {
            //context.KhachHang.AddOrUpdate(m => m.Id,
            //    new TGBTech.Core.Models.DanhMuc.KhachHang { MaKH = "None", Name = "None", State = true });

            base.Seed(context);
        }
    }
}
